package io.github.stary1993.kite.admin.dto;

import io.github.stary1993.kite.admin.entity.SysUser;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.util.List;

/**
 * @author stary1993
 */
@Schema(description = "系统用户传输对象")
@Data
@EqualsAndHashCode(callSuper = true)
public class UserDTO extends SysUser {

    /**
     * 角色ID
     */
    @Schema(description = "角色id集合")
    private List<Long> role;

    /**
     * 新密码
     */
    @Schema(description = "新密码")
    private String newpassword1;

}
